import requests

url = "11"

try:
    response = requests.get(url)

    if response.status_code == 200:
        # 处理成功的响应
        data = response.json()
        print("成功获取数据：", data)
    else:
        # 处理错误的响应
        print("请求失败，状态码：", response.status_code)
        print("错误信息：", response.text)
except Exception as e:
    print("发生异常：", str(e))
